package com.atchangsha.system.constant;

import com.atchangsha.system.common.exception.EnumInterface;

public class AdminConstants {
    public enum AdminEnum implements EnumInterface{
        NOT_FIND(-1001,"管理员账号有误"),
        PASSWORD_ERROR(-1002,"密码错误"),
        LOGIN(0003,"登录成功"),
        ;
        private int code;
        private String message;

        AdminEnum(int code, String message) {
            this.code = code;
            this.message = message;
        }

        @Override
        public int getCode() {
            return code;
        }

        @Override
        public String getMsg() {
            return message;
        }
    }
}
